package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the SENDMEDCINE_DRUGSTORE_DETAILS database table.
 * 
 */
@Entity
@Table(name="SENDMEDCINE_DRUGSTORE_DETAILS")
@NamedQuery(name="SendmedcineDrugstoreDetail.findAll", query="SELECT s FROM SendmedcineDrugstoreDetail s")
public class SendmedcineDrugstoreDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="SENDMEDCINE_DETAILS_ID")
	private long sendmedcineDetailsId;

	@Column(name="DRUGSTORAGE_GETDRUG")
	private String drugstorageGetdrug;

	@Column(name="SENDMEDCINE_NUMBER")
	private BigDecimal sendmedcineNumber;

	//bi-directional many-to-one association to Medcinestore
	@ManyToOne
	@JoinColumn(name="MEDCINESTORE_ID")
	private Medcinestore medcinestore;

	//bi-directional many-to-one association to MedcineDetail
	@ManyToOne
	@JoinColumn(name="MEDCINE_ID")
	private MedcineDetail medcineDetail;

	//bi-directional many-to-one association to SendmedcineDrugstore
	@ManyToOne
	@JoinColumn(name="SENDMEDCINE_DRUGSTORE_ID")
	private SendmedcineDrugstore sendmedcineDrugstore;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="STAFF_ID")
	private Staff staff;

	public SendmedcineDrugstoreDetail() {
	}

	public long getSendmedcineDetailsId() {
		return this.sendmedcineDetailsId;
	}

	public void setSendmedcineDetailsId(long sendmedcineDetailsId) {
		this.sendmedcineDetailsId = sendmedcineDetailsId;
	}

	public String getDrugstorageGetdrug() {
		return this.drugstorageGetdrug;
	}

	public void setDrugstorageGetdrug(String drugstorageGetdrug) {
		this.drugstorageGetdrug = drugstorageGetdrug;
	}

	public BigDecimal getSendmedcineNumber() {
		return this.sendmedcineNumber;
	}

	public void setSendmedcineNumber(BigDecimal sendmedcineNumber) {
		this.sendmedcineNumber = sendmedcineNumber;
	}

	public Medcinestore getMedcinestore() {
		return this.medcinestore;
	}

	public void setMedcinestore(Medcinestore medcinestore) {
		this.medcinestore = medcinestore;
	}

	public MedcineDetail getMedcineDetail() {
		return this.medcineDetail;
	}

	public void setMedcineDetail(MedcineDetail medcineDetail) {
		this.medcineDetail = medcineDetail;
	}

	public SendmedcineDrugstore getSendmedcineDrugstore() {
		return this.sendmedcineDrugstore;
	}

	public void setSendmedcineDrugstore(SendmedcineDrugstore sendmedcineDrugstore) {
		this.sendmedcineDrugstore = sendmedcineDrugstore;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}